package cn.tgq.definition.a_quickstart;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class BeanDefinitionQuickstartXmlApplication {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context =
                new ClassPathXmlApplicationContext("definition/beans-definition.xml");
        BeanDefinition personBeanDefinition = context.getBeanFactory().getBeanDefinition("person");
        System.out.println(personBeanDefinition);
    }
}
